package com.byxy.ssm.demo.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.byxy.ssm.demo.dao.TabDao;
import com.byxy.ssm.demo.entity.Tab;
import com.byxy.ssm.demo.service.TabService;

@Service
@Transactional
public class TabServiceImpl implements TabService{
	@Autowired
	private TabDao tabDao;

	@Override
	public List<Tab> findAll() {
		// TODO Auto-generated method stub
		return tabDao.find();
	}
	
}
